package com.spzx.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.spzx.product.api.domain.Product;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spzx.product.domain.dto.ProductDTO;
import com.spzx.product.domain.vo.ProductVO;

import java.util.List;

/**
* @author Administrator
* @description 针对表【product(商品)】的数据库操作Service
* @createDate 2024-07-24 18:53:17
*/
public interface ProductService extends IService<Product> {

    Page<ProductVO> listpage(Product product);

    boolean saveProductDTO(ProductDTO productDTO);

    ProductDTO getProductDTOById(Long id);

    boolean updateProductDTO(ProductDTO productDTO);

    boolean removeBatchSpusById(List<Long> ids);

    boolean updateStatus(Long id, Integer status);
}
